<include file="public:header"/>
<load href="__TMPL__public/css/uc.css" />   
<load href="__TMPL__/public/js/uc.js" />
<div class="middle">
    <div class="uc clearfix">
		<include file="left_region"/> 		
        <div class="right_region">
        	<div class="clearfix like_list">
	            <if condition="count($list) eq 0">
                <p>暂无内容</p>
                </if>    
                <volist name="list" id="val">
                    <div class="item" iid="{$val.id}">
                        <a href="{:u('item/index',array('id'=>$val['id']))}" target="_blank">
                            <img src="{$val.img}" border="0" alt=""/>
                        </a>
                        <h3 class="summary">
                            <a href="{:u('item/index',array('id'=>$val['id']))}" class="black" target="_black" title="{$val.title}">{$val.title}</a>
                        </h3>                
                    </div>
                </volist>            
            </div>
        	<div class="clearfix page">{$page}</div>	
        </div>
    </div>
</div>
<script type="text/javascript">
$(function(){ 
	function masonry(){ 
		$('.like_list img').load(function(){ 
			$('.like_list').masonry({ 
				itemSelector: '.item',
				columnWidth: 160,
				gutterWidth :30								
			});			
		});	
		$('.like_list').masonry({ 
			itemSelector: '.item',
			columnWidth: 160,
			gutterWidth :30								
		});		
	}
	masonry();		   		   
});
</script>

<include file="public:footer"/> 